{% load pagebase %}
{% load components %}
{% load blog %}
{% load blog.components.sidebar %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{% spaceless %}
<title>{% block title %}{% endblock %}{{ owner.title }} | {% app_name %}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="{% block meta_keywords %}{% endblock %}" />    
<meta name="description" content="{% block meta_description %}{% endblock %}" />
<meta name="copyright" content="{% block meta_copyright %}{{owner.default_license.name}}{% endblock %}" />
<meta name="author" content="{{owner.user.realname}}" />
<link rel="shortcut icon" href="/static/images/favicon.ico?v=2" />
<link rel="icon" href="/static/images/favicon-ani.gif?v=2" type="image/gif" />
{% block header %}{% endblock %}
{% block styles %}
{{ owner.theme|format_theme_link|include_css }}
{% endblock %}
{% endspaceless %}
</head>
<body>
<div id="container">
	<div id="user-bar">
		{{ current_profile|componsent_user_bar }}
	</div>
	<div id="header">
		<div class="blog-title"><a href="{% url apps.blog.views.home owner.slug %}" title="{{ owner.title }}">{{ owner.title }}</a></div>
		<div class="summary">{{ owner.sub_title }}</div>
		<ul class="menu" id="panelMenu">
			<li class="first"><a href="{% url apps.blog.views.home owner.slug %}">首页</a></li>
			<li><a href="{% url apps.blog.views.home owner.slug %}">标签</a></li>
			<li><a href="{% url apps.blog.views.home owner.slug %}">RSS订阅</a></li>
			<li class="last"><a href="{% url apps.blog.views.home owner.slug %}">关于</a></li>
		</ul>
	</div>
	<div id="main">
	{% block  main %}
	{% endblock %}
	</div>
	<div id="sidebar">
		{{ owner|blog_componsent_sidebar_profile }}
		{{ owner|blog_componsent_sidebar_categorys }}
		<div class="panel" id="panelTags">
			<h2>Tags:</h2>
			<ul>
				<li></li>
			</ul>
		</div>
		<div class="panel" id="panelIcons">
			<ul>
				<li><a href="" class="rss">订阅最新文章</a></li>
				<li><a href="" class="rss">订阅评论</a></li>
				<li>博客由 <a href="{% url apps.views.home %}" class="coderblogs">{% app_name %}</a> 提供</li>
			</ul>
		</div>
	</div>
	<div id="footer">
		<p class="lincese">版权声明！此处的文章使用 <a href="http://creativecommons.org/licenses/by/3.0/deed.zh">署名 3.0 Unported</a> 协议。</p>
		<p>博客服务由 <a href="{% url apps.views.home %}">{% app_name %}</a> 提供,建议使用 Firefox 浏览, 分辨率 1024 * 768 以上。 </p>
	</div>
</div>
{% spaceless %}
{{ "lib/jquery.js"|include_js }}
{{ "lib/common.js"|include_js }}
{% block scripts %}{% endblock %}
{% endspaceless %}
</body>
</html>